package com.suke.czx.modules.wx.config;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * wxpay pay properties
 *
 * @author Binary Wang
 */
@ConfigurationProperties(prefix = "wx.pay")
public class WxPayProperties {
  /**
   * 设置微信公众号或者小程序等的appid
   */
  private String appId;

  /**
   * 微信支付商户号
   */
  private String mchId;

  /**
   * 微信支付商户密钥
   */
  private String mchKey;

  /**
   * 服务商模式下的子商户公众账号ID，普通模式请不要配置，请在配置文件中将对应项删除
   */
  private String subAppId;

  /**
   * 服务商模式下的子商户号，普通模式请不要配置，最好是请在配置文件中将对应项删除
   */
  private String subMchId;

  /**
   * apiclient_cert.p12文件的绝对路径，或者如果放在项目中，请以classpath:开头指定
   */
  private String keyPath;
  
  
  private String notifyBuy;
  
  private String notifyRepair;
  
  /**
   * 订购成功模板模板消息id，使用再关注后发送、订单之后后 判断是否关注；
   */
  private String tidBuySuccess;
  
  /**
   * 上课提醒模板消息ID
   */
  private String  tidClassReminder;
  
  /**
   * 推荐成功模板息息ID
   */
  private String  tidRecommend;
  
  /**
   * 推荐成功URL
   */
  private String  urlRecommend;
  
  private String host;

  public String getAppId() {
    return this.appId;
  }

  public void setAppId(String appId) {
    this.appId = appId;
  }

  public String getMchId() {
    return mchId;
  }

  public void setMchId(String mchId) {
    this.mchId = mchId;
  }

  public String getMchKey() {
    return mchKey;
  }

  public void setMchKey(String mchKey) {
    this.mchKey = mchKey;
  }

  public String getSubAppId() {
    return subAppId;
  }

  public void setSubAppId(String subAppId) {
    this.subAppId = subAppId;
  }

  public String getSubMchId() {
    return subMchId;
  }

  public void setSubMchId(String subMchId) {
    this.subMchId = subMchId;
  }

  public String getKeyPath() {
    return this.keyPath;
  }

  public void setKeyPath(String keyPath) {
    this.keyPath = keyPath;
  }

  @Override
  public String toString() {
    return ToStringBuilder.reflectionToString(this,
        ToStringStyle.MULTI_LINE_STYLE);
  }

public String getNotifyBuy() {
	return notifyBuy;
}

public void setNotifyBuy(String notifyBuy) {
	this.notifyBuy = notifyBuy;
}

public String getNotifyRepair() {
	return notifyRepair;
}

public void setNotifyRepair(String notifyRepair) {
	this.notifyRepair = notifyRepair;
}

public String getTidBuySuccess() {
	return tidBuySuccess;
}

public void setTidBuySuccess(String tidBuySuccess) {
	this.tidBuySuccess = tidBuySuccess;
}

public String getTidClassReminder() {
	return tidClassReminder;
}

public void setTidClassReminder(String tidClassReminder) {
	this.tidClassReminder = tidClassReminder;
}

public String getTidRecommend() {
	return tidRecommend;
}

public void setTidRecommend(String tidRecommend) {
	this.tidRecommend = tidRecommend;
}

public String getUrlRecommend() {
	return urlRecommend;
}

public void setUrlRecommend(String urlRecommend) {
	this.urlRecommend = urlRecommend;
}

public String getHost() {
	return host;
}

public void setHost(String host) {
	this.host = host;
}
}